package v1

import (
	"blog_server/pkg"
	"blog_server/pkg/app"
	"github.com/gin-gonic/gin"
)

// 文章路由处理方法

type Article struct {
}

func NewArticle() Article {
	return Article{}
}

func (a Article) Get(ctx *gin.Context)  {
	app.NewResponse(ctx).ToErrorResponse(pkg.ServerError)
}
func (a Article) List(ctx *gin.Context)  {}
func (a Article) Delete(ctx *gin.Context)  {}
func (a Article) Create(ctx *gin.Context)  {}
func (a Article) Update(ctx *gin.Context)  {}
